public class Student extends Person {
    long number;
    int math;
    int english;
    int computer;

    public Student(String name, int age, char sex, long number, int math, int english, int computer) {
        super(name, age, sex);
        this.number = number;
        this.math = math;
        this.english = english;
        this.computer = computer;
    }



    @Override
    public String toString() {
        return "Student{" +
                "number=" + number +
                ", math=" + math +
                ", english=" + english +
                ", computer=" + computer +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                '}';
    }
}
